package com.ponhu.ea2.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author luyu
 * @create 2021-10-28 15:09
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "更新图片入参模型Dto")
public class UpdateImagesDto implements Serializable {

    @NotNull(message = "商品编码不能为空")
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    @NotNull(message = "商品图片不能为空")
    @ApiModelProperty(value = "商品图片")
    private String detailImage;

}
